package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Getter
@Setter
//培训情况
public class Training {
    private Long id;
    private String name;//培训项目
    private String type;//培训类型
    private String trainingAgency;//培训机构
    private BigDecimal cost;//培训费用
    private String place;//培训场所
    private String result;//培训成果
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date beginDate;//开始时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date endDate;//结束时间
    private String remark;//备注
    private Long employeeId;
}
